home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / tiff / CHANGES-v2.5 < prev    next >
Text File  |  1992-02-14  |  9KB  |  171 lines

  1. $Header: /usr/people/sam/tiff/RCS/CHANGES-v2.5,v 1.3 92/02/10 15:02:27 sam Exp $
  2.  
  3. TIFF Software "Release" 2.5 BETA+ (changes since 2.4.2 release)
  4. --------------------------------------------------------------
  5. Changes in libtiff:
  6.     o the mkg3states program has been made more portable
  7.     o global library data structures can now be compiled as const
  8.       (this is important for building shared libraries)
  9.     o the file machdep.h is no longer needed and has been purged
  10.     o the format of the include file generated by mkg3states
  11.       has been altered so that applications can access the
  12.       Group 3 and Group 4 compression machinery more easily
  13.       (see tools/fax2tiff and contrib/fax2ps for examples)
  14.     o a new -c option has been added to mkg3states to generate
  15.       const data structures
  16.     o the function prototyping macros now fail at compile time
  17.       if the library is configured to not use prototypes and
  18.       not use varargs
  19.     o two new functions, TIFFGetFieldDefaulted and TIFFVGetFieldDefaulted,
  20.       for getting either a tag's value or a default value
  21.       (if one exists) have been added
  22.     o a new function TIFFReadRGBAImage has been added to read
  23.       an entire image into memory and return it in a common
  24.       format (packed into 32-bit pixels)
  25.     o function prototype inconsistencies for TIFFMapFileContents
  26.       and TIFFUnmapFileContents have been fixed
  27.     o the directory handling code has been broken up into
  28.       4 separate files:
  29.     tif_dir.c    routines for getting & setting tag values
  30.     tif_dirinfo.c    information about known tags
  31.     tif_dirread.c    directory reading support
  32.     tif_dirwrite.c    directory writing support
  33.     o the directory handling code has been substantially reworked
  34.       to eliminate many special cases and add more general reading
  35.       and writing support routines; this is mainly for supporting
  36.       the 6.0 tags
  37.     o the code that deduces a value for StripByteCounts when the
  38.       tag is not present has been improved slightly
  39.     o the directory reading code is now more careful about checking
  40.       count fields and tag definitions (when known)
  41.     o support has been added for the color information tags that are
  42.       to appear in TIFF 6.0: WhitePoint, PrimaryChromaticities,
  43.       ReferenceBlackWhite, and TransferFunction
  44.     o support has been added for the JPEG tags that are to appear
  45.       in TIFF 6.0 (but still no compression/decompression code yet):
  46.       JPEGProc, JPEGRestartInterval, JPEGQTables, JPEGACTables,
  47.       JPEGDCTables
  48.     o support has been added for the CMYK tags that are to appear
  49.       in TIFF 6.0: InkSet, InkNames, DotRange, TargetPrinter
  50.     o support has been added for the YCbCr tags that are to appear
  51.       in TIFF 6.0: YCbCrCoefficients, YCbCrSubsampling, YCbCrPositioning
  52.     o the reading and writing of packed sampled YCbCr data by strip
  53.       or tile works correctly (i.e. buffer sizes are calculated
  54.       according to the sampling factors and the Y...YCbCr packing)
  55.     o it is no longer necessary to call TIFFFlushData before a
  56.       call to TIFFWriteDirectory; this is now handled automatically;
  57.       old code that did this will still work as the library is
  58.       now more intelligent about doing end-of-strip work only once
  59.       per strip
  60.     o the values for certain tags are now checked when the tag's
  61.       value is set; e.g. FillOrder may only be FILLORDER_LSB2MSB
  62.       or FILLORDER_MSB2LSB
  63.     o old tags obsoleted by changes in TIFF 6.0 have been removed:
  64.       ColorResponseUnit, ColorResponseCurves, GrayResponseUnit,
  65.       GrayResponseCurve
  66.     o a bug whereby the library could leak memory if directories
  67.       were read in a non-sequential order has been fixed
  68.     o a bug in the Group 3 2D/Group 4 decoding+encoding routines
  69.       whereby the reference scanline was not reset to white at the
  70.       start of each strip after the first has been fixed
  71.     o bugs in the Group 3 2D/Group 4 decoding routine logic for
  72.       several (slightly obscure) cases were fixed
  73.     o a bug in the LZW encoding routine that could result in invalid
  74.       codes being generated was fixed (this only happened in a
  75.       low probability situation where the encoding process was
  76.       considered "poor" and the library attempted to reset its
  77.       encoding state to improve the compression performance)
  78.     o a new routine, TIFFCurrentDirectory has been added; it
  79.       returns the index of the current directory -- suitable for
  80.       passing to TIFFSetDirectory
  81.     o TIFFPrintDirectory has been updated to reflect the changes
  82.       in the tags supported by the library
  83.     o an obscure case in TIFFReadEncodedStrip where an error could
  84.       occur without a diagnostic has been corrected
  85.     o the private Picio and SGI RLE compression codes have been deleted
  86.       (along with the associated code)
  87.     o the JPEG compression code has been renumbered to reflect the
  88.       value that it will have in TIFF 6.0
  89.     o support has been added for the the HalftoneHints tag that
  90.       is to appear in TIFF 6.0
  91.     o support has been added for using the library under VMS
  92.     o the bit reversal routine TIFFReverseBits has been made faster
  93.     o a bug in the TIFFWriteTile routine where the tile size might
  94.       be used before it's calculated has been fixed
  95.     o some portability problems with 16-bit machines such as the
  96.       Macintosh have been fixed
  97.  
  98. (Note, since the 2.5 BETA version the following user-visible
  99.  modifications have been made:
  100.     o the ReferenceBlackWhite tag changed from LONG to RATIONAL
  101.       with a corresponding change in the parameters to TIFFGetField
  102.       and TIFFSetField
  103.     o the SGI-specific Matteing tag has been replaced by the new
  104.       ExtraSamples tag; the library will accept the Matteing tag,
  105.       but only generate the ExtraSamples tag
  106.     o several bugs in the handling of the JPEG tags have been fixed
  107.     o a bug in the Group 3 2D and Group 4 decoding routines was fixed
  108.     o Group 3 2d tag bits are no longer included in the EOL
  109.       byte-aligning logic: that is, EOL codes are consistently aligned
  110.       to byte boundaries and any 2d tag bits are placed in the byte
  111.       that follows
  112.     o the writing of the TileByteCounts and TileOffsets tags has been
  113.       corrected
  114. )
  115.  
  116. Changes in the tools:
  117.     o a new tool for converting PBM+ files, ppm2tiff, has been added
  118.     o a new tool for converting an RGB, grayscale, or bilevel image
  119.       to a sampled YCbCr image, rgb2ycbcr, has been added
  120.     o the fax2tiff utility has been rewritten to use the library
  121.       decoding routines; because of this, it can now decode Group 4
  122.       data as well as Group 3 data
  123.     o all references to obsolete tags such as ColorResponseCurves
  124.       were deleted
  125.     o the picio2tiff utility was purged for lack of use
  126.     o the pixargt utility was purged for lack of use
  127.     o a bug in ras2tiff that caused the default value of RowsPerStrip
  128.       to be large was fixed
  129.     o tiffgt (SGI version) now continues in the face of decoding
  130.       errors unless a -s flag is specified; support for displaying
  131.       YCbCr data has been added; also, the -v (verbose)
  132.       flag has been changed to alter the window title strip rather
  133.       than print to the terminal; finally, a bug that caused certain
  134.       kinds of images larger than the screen to not be displayed
  135.       properly was fixed
  136.     o the PostScript generated by tiff2ps has been changed
  137.       slightly to conform to the latest Adobe document conventions
  138.     o a bug in tiffcmp that caused it to dump core was fixed
  139.     o tiffcp has been enhanced so that it can be used to generate a
  140.       multipage file from multiple source files; also tiffcp now
  141.       checks the colormap to see if it is an 8-bit colormap and,
  142.       if so, coerces it to be 16-bit in the resultant file
  143.     o tiffdump has been updated to reflect the new tags added to the
  144.       library for TIFF 6.0
  145.     o tiffdump is now more resilient in the face of bad tag types
  146.       and read errors
  147.     o tiffinfo has new -l and -m options to specify the FillOrder
  148.       of the input file as LSB-to-MSB and MSB-to-LSB, respectively
  149.     o tiffinfo now reads data by strip and tile (e.g. for the -D option)
  150.     o tiffcmp can now compare 1, 2, and 4 bit data
  151.     o a public domain version of getopt is now included with the tools
  152.     o the tools have been ported to VMS
  153.  
  154. Changes in the documentation:
  155.     o the section 3 manual pages have been renamed to reflect full
  156.       function names and a Makefile now exists for creating links
  157.       when multiple functions are described in a single manual page
  158.       (NOTE that this means that many file names are now much longer
  159.       than 14 characters.)
  160.     o two new documents describe proposed additions for the TIFF 6.0
  161.       spec for handling Associated Alpha data (what was previously
  162.       done with the Matteing tag)
  163.  
  164. Changes in the contrib software:
  165.     o a new program, fax2ps, was contributed by Sam Leffler; it
  166.       converts bilevel TIFF images to a compressed PostScript
  167.       that is typically much faster to print than the PostScript
  168.       generated by tiff2ps
  169.     o a vms area contains scripts and data files for building the
  170.       library and tools under VMS
  171.